IBM Books

Software User's Guide Version 3.3


Using XTP

This chapter describes the X.25 Transport Protocol (XTP) for transporting X.25 traffic over TCP/IP. Included are the following sections:


The X.25 Transport Protocol

X.25 Transport Protocol (XTP) provides you with the services of a "protocol forwarder." A protocol forwarder is the focal point for inbound and outbound protocol packet processing. Forwarders receive packets on one network interface and send them to another interface.

XTP is designed to work with X.25 devices that are situated at multiple remote sites. In such environments, XTP can eliminate the use of X.25 packet-switched networks for communicating with servers at one or more centralized locations.

To enable this, you use routers at the server and remote locations to encapsulate the data and deliver the X.25 packets between the clients and server via TCP/IP.

Figure 15 illustrates a network configuration before and after using XTP.

Figure 15. Configuration Before and After XTP


Configuration changes for XTP.

Configuration Information

X.25 recognizes an incoming call for XTP based on the node addresses configured for XTP. Therefore, in order to transport X.25 traffic between the X.25 nodes, you must configure X.25 to map to the data terminal equipment (DTE) address and IP addresses of the routers to which the nodes are connected.

For example, in Figure 15, you configure X.25 clients on remote routers and on the concentrator router. Remote routers in this example are the routers that connect the X.25 clients to the TCP/IP network that is used to access the X.25 server; the concentrator router connects the X.25 server to the TCP/IP network that is used to access the remote routers.
Note:When you configure XTP, if a router is connected to an X.25 switch, it is considered to be DTE. If it is not connected to a switch, it is considered to be DCE (Data Circuit-Terminating Equipment).

To configure a router for XTP, define the following information from the XTP config> prompt and then restart the router:

Local DTEs
X.25 nodes connected to the X.25 interfaces on the router

To configure local DTEs, use the X.121 address that is assigned to the local DTE. Multiple local DTEs can be configured on an interface.

Peer Routers
Routers with which you communicate over TCP/IP

Peer routers can differ depending on "point of view". For example, in Figure 15, the two remote routers are the peer routers from the perspective of the concentrator router. However, the concentrator router is the peer router from the perspective of the two remote routers.

You designate the peer router by its internal IP address.

Remote DTEs
Remote X.25 nodes to which the local X.25 nodes open connections and exchange data. Use the X.121 address that is assigned to the remote DTE.

Configure a unique IP address for each peer router. For example, in Figure 15, the concentrator router must know the unique IP address of each remote router, and each remote router must know the IP address of the concentrator router.

PVC
A permanent channel that remains connected after X.25 restarts.

PVCs, because they are constant channels, are similar to leased telephone lines. A PVC, in the XTP context, is a PVC from a local X.25 DTE node to a remote X.25 DTE.

When you configure a router for PVCs, map the IP address of the peer router and the PVC number of the remote and local DTE. A PVC is identified by four pieces of information which are the:

CUGS
The closed user groups for the XTP protocol. See Understanding Closed User Groups.

Additional configuration information can be found at "Configuring XTP" and at "XTP Configuring Commands".


DTE Address Wildcards

The "*" wildcard is available for DTE address configuration. This is in addition to the "?" character that can be specified in a DTE address to represent any one digit in that position in the address. For example, a specification of "1?2?3" can match address 18243 where the first, third, and fifth digits are 1, 2, and 3, respectively.

The "*" wildcard character can represent any string of zero or more digits. Its use is limited to the end of a DTE address specification. For example: "123*", "5555*", "9*" or "*". The special case of a DTE address of "*" represents any DTE address, even a null address. The null address is useful for handling incoming calls with no calling address in the X.25 Call Request packet.

Use of the "*" wildcard increases the chances for adding a local or a remote DTE address that conflicts with an existing address. The add local-dte and add remote-dte commands are enhanced to provide the conflicting address when the user attempts to add a DTE address that conflicts with an existing address.

Example: xtp config> add local-dte

            Interface number [0]? 1
            DTE address [ ] 123456
            DTE address [ ]?
 
            XTP config>add local-dte
            Interface number [0]?1
            DTE address [ ]?1*
            DTE address conflicts with existing DTE address 123456

XTP Backup Peer Function

The Backup Peer Function allows the association of multiple peer routers with a remote DTE. The user specifies a list of peer routers associated with a remote DTE.

Example:

              XTP config>add rem
              DTE address [ ]?123456
              Peer router's internal IP Address [0.0.0.0]?10.0.0.2
              Peer router's internal IP Address [0.0.0.0]?10.0.0.4
              Peer router's internal IP Address [0.0.0.0]?11.0.0.1
              Peer router's internal IP Address [0.0.0.0]?

When an incoming call for the remote DTE is received, a connection is attempted through each router in the list in the same order that they appear for the remote DTE.

Searching for a Remote DTE

When a DTE initiates a call for a remote DTE, both DTE addresses are inspected to determine if they are acceptable for X.25 transport. If they are acceptable, the X.25 Transport protocol forwarder determines through which peer router to attempt to complete the call. It starts with the first router in the remote DTE's list of peer routers in its search. The first condition that must be met is an active TCP connection to the peer router. If there is not an active TCP connection to the peer, the next router in the list is checked. When an active TCP connection is found, an attempt is made to complete the call. The Connection Request Timer is started to time the call connection process.

The remote DTE search is terminated by one of the following events:

If a pass through the list of peer routers is completed without a successful connection through any of the peer routers, the call to the local DTE is cleared.

Connection Request Timer

The Connection Request Timer is used to ensure that no call setup procedure hangs for an indeterminable time. There is a timer configured for each peer router.

Example:

              XTP config>add peer-router
              Router's internal IP Address [0.0.0.0]?10.0.0.2
              Connection setup timeout [230]?60

The Connection Request Timer can be configured from 10 to 480 seconds. The default is 230 seconds. This default was determined based on the fact that the default setting for the X.25 Call Request Timer is 200 seconds.

The timer is started when an attempt is made to complete a call through a peer router. It is stopped when the call attempt is either accepted or rejected by the peer router.


Local XTP

Local XTP allows you to route incoming X.25 traffic to the same or different interfaces on the current router. To configure local XTP, specify the router's internal IP address as a peer address on the add peer command.


XTP and Closed User Groups

XTP supports closed user groups through the local DTE address defined by the add local or the add cug command. To enable XTP to use closed user groups, you must:


Configuring XTP

XTP is a protocol forwarder used to transport X.25 traffic over TCP/IP. XTP allows existing X.25 devices to communicate over a TCP/IP backbone and migrate from an X.25 network to a network of your choice.


Configuration Procedures

This section defines the detail for configuring the network displayed in Figure 16.

Figure 16. Sample XTP Configuration

Sample of XTP Configuration

This configuration shows three routers, the Concentrator router, Remote 1 router, and Remote 2 router. To make XTP operational on this network, perform the following steps for each of these routers:

Note:New configurations do not take effect until you restart the router.

Setting the Data Link

The data link defines the protocol you are using to send data packets over the network. Define the data link between the router you are configuring and each serial interface. The example in Figure 16 configures a concentrator router with three serial interfaces, two for X.25 and one for PPP.

Set the data-link protocol for the serial interfaces:

            Config>set data-link X25 1
            Config>set data-link x25 2
            Config>set data-link ppp 3

Configuring the IP Interface

In Figure 16, the IP interface is PPP; enter network 3 at the Config> prompt to configure this PPP interface:

            Config>network 3
            PPP interface configuration
Note:This procedure does not include details about the configuration of PPP. For details, refer to Software User's Guide

Configuring X.25

Before configuring XTP, configure the X.25 parameters for each interface. The following example configures the basic parameters for X.25 and is based on the topology in Figure 16.

The parameters you need to configure depend on your network topology. For details about all the X.25 parameters, refer to Software User's Guide

Interface 1

Use the following instructions to configure Interface 1 on the concentrator router as defined in Figure 16.

  1. At the Config> prompt, enter network followed by the number of the X.25 interface. In this example, it is interface 1.
             Config>network 1
             X.25 User Configuration
             X.25 Config>
    

  2. Add the XTP protocol to the X.25 interface and define general interface values. Enter add protocol xtp at the X.25 Config> prompt. This command needs to be entered one time only.
             X.25 Config>add protocol xtp
             Window Size [2]?
             Default Packet Size [128]?
             Maximum Packet Size [256]?
    

  3. Specify the network address by entering set address X.25 node address. In Figure 16, the node address (DTE address) is 100.

             X.25 Config>set address 100
    

  4. Enter set clocking followed by internal or external based on your router type.

             X.25 Config>set clocking internal
    

  5. Enter set speed followed by the access rate (line speed).

             X.25 Config>set speed
             Access rate in bps [9600]?19200
    

  6. Enter set equipment-type and specify whether the frame and packet levels act as DCE or DTE.

             X.25 Config>set equipment-type dce
    

  7. Enter set pvc and define the lowest and the highest PVC you are using.

             X.25 Config>set pvc low 1
             X.25 Config>set pvc high 1
    

  8. Enter add pvc to define individual PVCs.

             X.25 Config>add pvc
             Protocol [IP]?xtp
             Packet Channel [1]?
             Destination X.25 Address [ ]?101
             Window Size [2]?
             Packet Size [128]
    

  9. (Optional) Enter national enable truncate-called-addresses. If you want to truncate the called address size, enter national set truncate-called-addr-size followed by the number of digits to truncate the called DTE address to.

  10. (Optional) Enable CUG support, CUG insertion, and CUG deletion as required.

Interface 2

Use the following instructions to configure interface 2.

  1. At the Config> prompt, enter network followed by the number of the X.25 interface. In Figure 16, it is 2.

             Config>network 2
             X.25 User Configuration
             X.25 Config>
    

  2. Use the same procedures as defined in "Interface 1" to set the following parameters for interface 2:

  3. Enter set svc and define the lowest and highest SVC you are using.

    There are three types of SVCs: two-way, inbound and outbound. The defaults are "svc low-two-way = 1" and "svc high-two-way = 64." All other SVC types default to 0. For additional information on SVCs and PVCs, refer to Software User's Guide

             X.25 Config>set svc ?
             X.25 Config>set svc low-inbound 0
             X.25 Config>set svc high-inbound 0
             X.25 Config>set svc low outbound 0
             X.25 Config>set svc high outbound 0
             X.25 Config>set svc low-two-way 2
             X.25 Config>set svc high-two-way 2
    

  4. Exit the X.25 Config> prompt.
             X25 Config>exit
             Config>
    

Setting the National Personality

Each X.25 public network has its own standard configuration. The National Personality refers to a group of 28 variables that define the characteristics of the public data network. These variables provide the router with control information for packets transferred over the link and influence the X.25 facilities used between and XTP router and its local DTE.

All facilities contained in incoming call requests are passed on to the peer router, regardless of whether the local router was configured to support that facility. For example, when packet size negotiation is requested in the incoming call and flow control negotiation is not configured in the router.

The router will insure any packet size and window size being negotiated is within the range specified when defining the X.25 interface. For example, a packet window greater than 7 is negotiated down to 7 if packet-ext-seq-mode has not been defined for the X.25 interface.

To view the configuration values, enter list detailed at the X.25 Config> prompt. To set the default values for the national personality, enter set national-personality at the X.25 Config> prompt. For further information, refer to Software User's Guide

Defining the IP Address

Before you configure the Concentrator router (as displayed in Figure 16) for XTP, define the IP address for this router. Enter protocol ip at the Config> prompt and enter add address at the IP config> prompt.

         Config>protocol ip
         IP config>add address
         Which net is this address for [0]?3
         New address [0.0.0.0]?128.185.100.7
         Address mask [255.255.0.0]?255.255.255.0
 

Setting the Internal IP Address

Each router identifies its peer routers by the internal IP address of the peer routers.

To set the internal IP address of the peer router, enter set internal IP address at the IP Config> prompt.

         IP config>set internal-ip-address
         Internal IP address [0.0.0.0]?128.185.100.1

Configuring XTP

After you have configured X.25 and defined the IP address, you are ready to configure XTP for the router.

If you need further configuration information when configuring XTP, see "XTP Configuring Commands".
Note:When configuring your network for XTP, remember that the peer routers are always the routers you are communicating with over TCP/IP. Therefore, the peer router can differ depending on the point of view. When configuring the routers defined as Remote 1 router and Remote 2 router in Figure 16, to them the peer router is the Concentrator router.

Implement the following steps to configure XTP for the router:

  1. To access the XTP config> prompt, enter protocol xtp at the Config> prompt.

  2. Add interface 1 to the XTP configuration. Enter add local-dte at the XTP Config> prompt.
             XTP config>add local-dte
             Interface number [0]?1
             Allow inbound calls without calling DTE address? (Y or N) [N]? n
             DTE address [ ]?101
             Pref CUG []? 18
             CUG (2) []? 2
             CUG (3) []?
             Pref BI-CUG [0]?
             DTE address [ ]?
     
    

    Entering a null DTE address ends the command input.

  3. Add interface 2 to the XTP configuration. Enter add local-dte at the XTP Config> prompt.
             XTP config>add local-dte
             Interface number [0]?2
             Allow inbound calls without calling DTE address? (Y or N) [N]? n
             DTE address [ ]?201
             DTE address [ ]?
    

    Entering a null DTE address ends the command input.

  4. (Optional) Add XTP protocol-specific CUGs.
    add cug
             Pref CUG  []? 11
             CUG (2)  []? 12
             CUG (3)  []? 13
             CUG (4)  []? 14
             CUG (5)  []? 15
    add bi-cug
             Pref BI-CUG  []? 21
             BI-CUG (2)  []? 22
             BI-CUG (3)  []?
    

  5. Add Remote 1 router as the peer router. Enter add peer-router and enter the IP address of this router.
             XTP config>add peer-router
             Router's internal IP Address [0.0.0.0]?128.185.100.2
             Connection setup timeout [230]?
    

  6. Add the remote DTE for Remote 1 router. Enter add remote-dte and enter the IP and DTE address of this DTE.
             XTP config>add remote-dte
             DTE address [ ]?301
             Peer router's internal IP Address [0.0.0.0]?128.185.100.2
             Peer router's internal IP Address [0.0.0.0]?
    
    Note:A remote DTE is required only if one of the following applies:

    • The Concentrator Router will be initiating XTP connections to the remote DTE due to incoming calls from its local DTEs.

    • The DTE is part of an XTP PVC definition.

  7. Add Remote 2 router (as the peer router). Enter add peer-router and enter the IP address of this router.
             XTP config>add peer-router
             Router's internal IP Address [0.0.0.0]?128.185.100.3
             Connection setup timeout [230]?
    

  8. Add the remote DTEs for Remote 2 router. Enter add remote-dte and enter the IP and DTE addresses of this DTE.
             XTP config>add remote-dte
             DTE address [ ]?401
             Peer router's internal IP Address [0.0.0.0]?128.185.100.3
             Peer router's internal IP Address [0.0.0.0]?
     
             XTP config>add remote-dte
             DTE address [ ]?402
             Peer router's internal IP Address [0.0.0.0]?128.185.100.3
             Peer router's internal IP Address [0.0.0.0]?
     
             XTP config>add remote-dte
             DTE address [ ]?403
             Peer router's internal IP Address [0.0.0.0]?128.185.100.3
             Peer router's internal IP Address [0.0.0.0]?
     
             XTP config>add remote-dte
             DTE address [ ]?404
             Peer router's internal IP Address [0.0.0.0]?128.185.100.3
             Peer router's internal IP Address [0.0.0.0]?
    

  9. Add an XTP PVC to logically associate the local PVC to Server 1 with the remote DTE 301.
    XTP config>add pvc
    Local PVC Range Start [1]? 
    Local PVC Range End [1]? 
    Local X.25 DTE address [ ]? 101
    Remote PVC Range Start [1]? 
    Remote PVC Range End [1]?
    Remote X.25 DTE address [ ]?301 
             
    

When entering DTE addresses, you can specify either of the following:

A '?' in place of any digit. The '?' means any single digit in this digit position.
An '*' as the last digit of an address to represent any combination of zero or more digits.

Sample Configuration of Remote Routers

The following is a sample configuration of Remote 1 router and Remote 2 router (see Figure 16). The process is the same as that defined in the section at "Configuration Procedures".

Remote 1 router

         *talk 6
 
         Config>set data-link x25 1
         Config>set data-link ppp 2
         Config>network 1
 
         X.25 Config>set address 300
         X.25 Config>set clocking internal
         X.25 Config>set speed 19200
         X.25 Config>set equipment-type dce
         X.25 Config>set pvc low 1
         X.25 Config>set pvc high 1
         X.25 Config>add pvc
         Protocol [IP]?xtp
         Packet Channel [1]?1
         Destination X.25 Address [ ]?301
 
         Window Size [2]?
         Packet Size [128]?
         X.25 Config>exit
         Config>
 
         Config>protocol ip
         IP config>add address
         Which net is this address for [0]?2
         New address [0.0.0.0]?128.185.100.8
         Address mask [255.255.0.0]?255.255.255.0
 
         IP config>set internal-ip-address
         Internal IP address [0.0.0.0]?128.185.100.2
         IP Config>exit
         Config>
 
         Config>protocol xtp
         XTP config>add local-dte
         Interface number [0]?1
         Allow inbound calls without calling DTE address? (Y or N) [N]? n
         DTE address [ ]?301
         DTE address [ ]?
 
         XTP config>add peer-router
         Router's IP address?128.185.100.1
 
         XTP config>add remote-dte
         DTE address [ ]?101
         Peer router's internal IP Address ]0.0.0.0]?128.185.100.1
         Peer router's internal IP Address [0.0.0.0]?
 
         XTP config>add pvc
         Local PVC Range Start [1]? 
         Local PVC Range End [1]? 
         Local X.25 DTE address [ ]? 101
         Remote PVC Range Start [1]?
         Remote PVC Range End [1]?
         Remote X.25 DTE address [ ]? 301
         

Remote 2 router

         *talk 6
 
         Config>set data-link x25 1
         Config>set data-link ppp 2
         Config>network 1
 
         X.25 Config>set address 400
         X.25 Config>set clocking external
         X.25 Config>set speed 19200
         X.25 Config>set equipment-type dte
         X.25 Config>set svc low-inbound 0
         X.25 Config>set svc high-inbound 0
         X.25 Config>set svc low-outbound 0
         X.25 Config>set svc high-outbound 0
         X.25 Config>set svc low-two-way 1
         X.25 Config>set svc high-two-way 64
         X.25 Config>add protocol
         Protocol [IP]?xtp
         Window Size [2]?
         Default Packet Size [128]?
         Maximum Packet Size [256]?
         X.25 Config>exit
 
         Config>protocol ip
         IP config>add address
         Which net is this address for [0]?2
         New address [0.0.0.0]?128.185.100.9
         Address mask [255.255.0.0]?255.255.255.0
 
         IP config>set internal-ip-address
         Internal IP address [0.0.0.0]?128.185.100.3
         IP Config>exit
         Config>
 
         Config>protocol xtp
         XTP config>add local-dte
         Interface number [0]?1
         Allow inbound calls without calling DTE address? (Y or N) [N]? n
         DTE address [ ]?401
         Pref CUG  []? 23
         CUG (2)  []? 24
         CUG (3)  []? 25
         CUG (4)  []? 26
         CUG (5)  []? 27
 
         DTE address [ ]?402
         Pref CUG  []?
         DTE address [ ]?403
         Pref CUG  []?
         DTE address [ ]?404
         Pref CUG  []?
         DTE address [ ]?
 
 
         XTP Config>add peer-router
         Router's IP address?128.185.100.1
 
         XTP config>add remote-dte
         DTE address [ ]?201
         Peer router's internal IP Address [0.0.0.0]?128.185.100.1
         Peer router's internal IP Address [0.0.0.0]?
         XTP config>exit
 
         Config>


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]